package com.mrobuy.jdvc.entity;

import com.gavel.annotation.FieldMeta;
import com.gavel.annotation.TableMeta;
import com.gavel.database.SQLExecutor;

@TableMeta(name = "VC_EXTPROP_VALUE", title = "京东类目扩展属性值")
public class VCExtPropValue {



    @FieldMeta(name = "ID", title = "ID", length = 32, primary = true)
    private String id;

    @FieldMeta(name = "CID", title = "类目ID", length = 32)
    private String cid;

    @FieldMeta(name = "PROPID", title = "规格参数ID", length = 32)
    private String propid;  // 规格参数ID

    @FieldMeta(name = "VALUEID", title = "属性值ID")
    private Integer valueId;  // valueId : 700013

    @FieldMeta(name = "ATTID", title = "参数名称", length = 20)
    private Integer attId;  // attId : 155305

    @FieldMeta(name = "VALUENAME", title = "值名称", length = 30)
    private String valueName;  //  valueName : 救生衣

    @FieldMeta(name = "TYPE", title = "输入类型", length = 8)
    private Integer type;  // "inputType": 3,

    @FieldMeta(name = "YN", title = "是否有效", length = 8)
    private Integer yn;  // 1有效0无效	是否有效

    @FieldMeta(name = "BRANDPRX", title = "品牌", length = 8)
    private String brandPrx;  // "inputType": 3,

    @FieldMeta(name = "SORT", title = "排序标记", length = 8)
    private Integer sort;  // "inputType": 3,

    @FieldMeta(name = "ISREQUIRED", title = "是否必填", length = 8)
    private Integer isRequired;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getPropid() {
        return propid;
    }

    public void setPropid(String propid) {
        this.propid = propid;
    }

    public Integer getValueId() {
        return valueId;
    }

    public void setValueId(Integer valueid) {
        this.valueId = valueid;
    }

    public Integer getAttId() {
        return attId;
    }

    public void setAttId(Integer attId) {
        this.attId = attId;
    }

    public String getValueName() {
        return valueName;
    }

    public void setValueName(String valueName) {
        this.valueName = valueName;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getYn() {
        return yn;
    }

    public void setYn(Integer yn) {
        this.yn = yn;
    }

    public String getBrandPrx() {
        return brandPrx;
    }

    public void setBrandPrx(String brandPrx) {
        this.brandPrx = brandPrx;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getIsRequired() {
        return isRequired;
    }

    public void setIsRequired(Integer isRequired) {
        this.isRequired = isRequired;
    }

    public static void main(String[] args) throws Exception {
        SQLExecutor.createTable(VCExtPropValue.class);
    }
}
